package com.lzy.pattern.builder;

/**
 * @ClassName: MobikeBuilder
 * @Description: ofo自行车 具体构造者
 * @Author: LiuZy
 * @Date: 2022/4/17 23:00
 * @Version: 1.0
 */
public class OfoBuilder extends Builder{

    @Override
    public void buildFrame() {
        bike.setFrame("不锈钢车架");
    }

    @Override
    public void buildSeat() {
        bike.setSeat("合成皮革车座");
    }

    @Override
    public Bike createBike() {
        return bike;
    }
}